package dispatcher

// type DispatcherServer struct {
// }

// func NewDispatcherServer()(*DispatcherServer, error){
// 	return new(DispatcherServer), nil
// }

// type HttpHandler func(w http.ResponseWriter, r *http.Request)

// func (ds *DispatcherServer)AddRoute(pattern string, handler func(http.ResponseWriter, *http.Request)){
// 	http.HandleFunc(pattern, handler)
// }

// func (ds *DispatcherServer)Start(){
// 	log.Infof("DispatcherServer listening on: %v", Conf.HttpBind)
// 	err := http.ListenAndServe(Conf.HttpBind, nil)
// 	if err != nil {
// 		panic(err)
// 	}
// }
